You are here: FAQ > Common Error Messages > What causes the Unable to DBOpen (TrnfileH) error?

What causes the Unable to DBOpen (TrnfileH) error?

The DBOpen function could not find and open the TrnFile and returned this error to GENInitTrn. To avoid the error when running in two-step or single-step mode, make sure the INI file has this setting:

< Data >
Trnfile = .\NUL

Depending on the operating system you are using, you may have to use:

< Data >
Trnfile = .\NULL

Also, if you are using UNC paths, create an empty TRNFILE.DAT file and use:

< Data >
Trnfile = trnfile.dat